@import './base.css';

/* 全局样式 */
html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

#app {
  width: 100%;
  min-height: 100vh;
}

/* Element Plus样式覆盖 */
.el-container {
  width: 100%;
  height: 100%;
}

.el-main {
  padding: 0 !important;
  width: 100%;
}

.el-card {
  width: 100%;
}

.el-row {
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* 媒体查询，确保在小屏幕上也能正常显示 */
@media screen and (max-width: 768px) {
  .el-col {
    width: 100% !important;
  }
}

a,
.green {
  text-decoration: none;
  color: hsla(160, 100%, 37%, 1);
  transition: 0.4s;
}

@media (hover: hover) {
  a:hover {
    background-color: hsla(160, 100%, 37%, 0.2);
  }
}
